package cn.saddyfire.pattern.adapter.class_adapter;

/**
 * @author Dee
 * @date 2024/1/25
 * <p>Description:适配器类
 */
public class SDAdapterTF extends TFCardImpl implements SDCard{

    @Override
    public String readSD() {
        System.out.println("adapter read tf card");
        return readTF();
    }

    @Override
    public void writeSD(String msg) {
        System.out.println("adapter write tf card");
        writeTF(msg);
    }
}
